.Net Framework > v3.5.21022.8 > System > Data > DataTableExtensions > CopyToDataTable<T> CopyToDataTable<T>(IEnumerable<T>)
CopyToDataTable<T>(IEnumerable<T>,DataTable,LoadOption)
CopyToDataTable<T>(IEnumerable<T>,DataTable,LoadOption,FillErrorEventHandler)


CopyToDataTable<T>(IEnumerable<T>)

Category
Method
Description
Returns a System.Data.DataTable that contains copies of the System.Data.DataRow objects, given an input System.Collections.Generic.IEnumerable`1 object where the generic parameter is System.Data.DataRow.
Type
DataTable
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<T>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

CopyToDataTable<T>(IEnumerable<T>,DataTable,LoadOption)

Category
Method
Description
Copies System.Data.DataRow objects to the specified System.Data.DataTable, given an input System.Collections.Generic.IEnumerable`1 object where the generic parameter is System.Data.DataRow.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<T>
tableDataTable
optionsLoadOption
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

CopyToDataTable<T>(IEnumerable<T>,DataTable,LoadOption,FillErrorEventHandler)

Category
Method
Description
Copies System.Data.DataRow objects to the specified System.Data.DataTable, given an input System.Collections.Generic.IEnumerable`1 object where the generic parameter is System.Data.DataRow.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<T>
tableDataTable
optionsLoadOption
errorHandlerFillErrorEventHandler
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database